var NAVTREE =
[
  [ "EquTemper", "index.html", [
    [ "EquTemper source code documentation", "index.html", [
      [ "An overview of source code", "sp_src_idx.html", null ],
      [ "Things to be implemented", "future_plans.html", null ],
      [ "Dynamic Debug Helper Code (DDHC)", "ddhc_main_page.html", [
        [ "Interface", "sec_interface.html", null ],
        [ "Implementation", "debug_implementation.html", null ]
      ] ]
    ] ],
    [ "Related Pages", "pages.html", [
      [ "Things to be implemen", "debug_todo.html", null ],
      [ "Todo List", "todo.html", null ]
    ] ],
    [ "Class List", "annotated.html", [
      [ "AccessibleProxyModel", "class_accessible_proxy_model.html", null ],
      [ "DDHC::AClass", "class_d_d_h_c_1_1_a_class.html", null ],
      [ "CC_HDL2D", "class_c_c___h_d_l2_d.html", null ],
      [ "CC_L2D", "class_c_c___l2_d.html", null ],
      [ "ModelTest::Changing", "struct_model_test_1_1_changing.html", null ],
      [ "DDHC::CInst", "class_d_d_h_c_1_1_c_inst.html", null ],
      [ "DDHC::Classes", "class_d_d_h_c_1_1_classes.html", null ],
      [ "DynamicTreeModel", "class_dynamic_tree_model.html", null ],
      [ "ETI_CplxTxt", "class_e_t_i___cplx_txt.html", null ],
      [ "ETI_MTxt", "class_e_t_i___m_txt.html", null ],
      [ "ETSheet", "class_e_t_sheet.html", null ],
      [ "ETSheetView", "class_e_t_sheet_view.html", null ],
      [ "ETSI_Fract", "class_e_t_s_i___fract.html", null ],
      [ "ETSI_HText", "class_e_t_s_i___h_text.html", null ],
      [ "ETSI_Integ", "class_e_t_s_i___integ.html", null ],
      [ "ETSI_Lim", "class_e_t_s_i___lim.html", null ],
      [ "ETSI_LogicAc", "class_e_t_s_i___logic_ac.html", null ],
      [ "ETSI_Matrix", "class_e_t_s_i___matrix.html", null ],
      [ "ETSI_Radic", "class_e_t_s_i___radic.html", null ],
      [ "ETSI_Root", "class_e_t_s_i___root.html", null ],
      [ "ETSI_Rows", "class_e_t_s_i___rows.html", null ],
      [ "ETSI_SText", "class_e_t_s_i___s_text.html", null ],
      [ "ETSI_Sum", "class_e_t_s_i___sum.html", null ],
      [ "ETSubItem", "class_e_t_sub_item.html", null ],
      [ "ETU_CreateIt", "class_e_t_u___create_it.html", null ],
      [ "ETUndoElem", "class_e_t_undo_elem.html", null ],
      [ "ETUndoHead", "class_e_t_undo_head.html", null ],
      [ "ETVpCmd_EditSubI", "class_e_t_vp_cmd___edit_sub_i.html", null ],
      [ "ETVpCmd_NewSubI", "class_e_t_vp_cmd___new_sub_i.html", null ],
      [ "ETVpCmd_NewTopElem", "class_e_t_vp_cmd___new_top_elem.html", null ],
      [ "ETVpCommand", "class_e_t_vp_command.html", null ],
      [ "FindDlg", "class_find_dlg.html", null ],
      [ "DDHC::Ghost", "class_d_d_h_c_1_1_ghost.html", null ],
      [ "ETSubItem::HtData", "struct_e_t_sub_item_1_1_ht_data.html", null ],
      [ "LnEditSI", "class_ln_edit_s_i.html", null ],
      [ "MainWindow", "class_main_window.html", null ],
      [ "MdiChild", "class_mdi_child.html", null ],
      [ "DDHC::MdlItem", "class_d_d_h_c_1_1_mdl_item.html", null ],
      [ "DDHC::Model", "class_d_d_h_c_1_1_model.html", null ],
      [ "ModelChangeCommand", "class_model_change_command.html", null ],
      [ "ModelInsertCommand", "class_model_insert_command.html", null ],
      [ "ModelMoveCommand", "class_model_move_command.html", null ],
      [ "ModelResetCommand", "class_model_reset_command.html", null ],
      [ "ModelResetCommandFixed", "class_model_reset_command_fixed.html", null ],
      [ "ModelTest", "class_model_test.html", null ],
      [ "MW_BasicMdi", "class_m_w___basic_mdi.html", null ],
      [ "MW_BasicSlots", "class_m_w___basic_slots.html", null ],
      [ "MW_RecentFiles", "class_m_w___recent_files.html", null ],
      [ "MW_SheetSlots", "class_m_w___sheet_slots.html", null ],
      [ "MW_StyleSheets", "class_m_w___style_sheets.html", null ],
      [ "MW_UiTempl", "class_m_w___ui_templ.html", null ],
      [ "ObservingObject", "class_observing_object.html", null ],
      [ "ETSubItem::PaintData", "struct_e_t_sub_item_1_1_paint_data.html", null ],
      [ "ETSheetView::SplitData", "struct_e_t_sheet_view_1_1_split_data.html", null ],
      [ "ETSheetView::SplitEl", "struct_e_t_sheet_view_1_1_split_el.html", null ],
      [ "DDHC::Tree", "class_d_d_h_c_1_1_tree.html", null ],
      [ "tst_ModelTest", "classtst___model_test.html", null ],
      [ "DDHC::VarInst", "class_d_d_h_c_1_1_var_inst.html", null ]
    ] ],
    [ "Class Index", "classes.html", null ],
    [ "Class Hierarchy", "hierarchy.html", [
      [ "AccessibleProxyModel", "class_accessible_proxy_model.html", null ],
      [ "CC_HDL2D", "class_c_c___h_d_l2_d.html", [
        [ "ETUndoHead", "class_e_t_undo_head.html", null ]
      ] ],
      [ "CC_L2D", "class_c_c___l2_d.html", [
        [ "ETSubItem", "class_e_t_sub_item.html", [
          [ "ETSI_Fract", "class_e_t_s_i___fract.html", null ],
          [ "ETSI_HText", "class_e_t_s_i___h_text.html", null ],
          [ "ETSI_Integ", "class_e_t_s_i___integ.html", null ],
          [ "ETSI_Lim", "class_e_t_s_i___lim.html", null ],
          [ "ETSI_Radic", "class_e_t_s_i___radic.html", null ],
          [ "ETSI_Root", "class_e_t_s_i___root.html", null ],
          [ "ETSI_Rows", "class_e_t_s_i___rows.html", [
            [ "ETSI_LogicAc", "class_e_t_s_i___logic_ac.html", null ],
            [ "ETSI_Matrix", "class_e_t_s_i___matrix.html", null ]
          ] ],
          [ "ETSI_SText", "class_e_t_s_i___s_text.html", null ],
          [ "ETSI_Sum", "class_e_t_s_i___sum.html", null ]
        ] ],
        [ "ETUndoElem", "class_e_t_undo_elem.html", [
          [ "ETU_CreateIt", "class_e_t_u___create_it.html", null ]
        ] ]
      ] ],
      [ "ModelTest::Changing", "struct_model_test_1_1_changing.html", null ],
      [ "DynamicTreeModel", "class_dynamic_tree_model.html", null ],
      [ "ETI_MTxt", "class_e_t_i___m_txt.html", null ],
      [ "ETVpCommand", "class_e_t_vp_command.html", [
        [ "ETVpCmd_EditSubI", "class_e_t_vp_cmd___edit_sub_i.html", null ],
        [ "ETVpCmd_NewSubI", "class_e_t_vp_cmd___new_sub_i.html", null ],
        [ "ETVpCmd_NewTopElem", "class_e_t_vp_cmd___new_top_elem.html", null ]
      ] ],
      [ "FindDlg", "class_find_dlg.html", null ],
      [ "DDHC::Ghost", "class_d_d_h_c_1_1_ghost.html", [
        [ "ETI_CplxTxt", "class_e_t_i___cplx_txt.html", null ],
        [ "ETSheet", "class_e_t_sheet.html", null ],
        [ "ETSheetView", "class_e_t_sheet_view.html", null ],
        [ "ETSI_Fract", "class_e_t_s_i___fract.html", null ],
        [ "ETSI_HText", "class_e_t_s_i___h_text.html", null ],
        [ "ETSI_Integ", "class_e_t_s_i___integ.html", null ],
        [ "ETSI_Lim", "class_e_t_s_i___lim.html", null ],
        [ "ETSI_LogicAc", "class_e_t_s_i___logic_ac.html", null ],
        [ "ETSI_Matrix", "class_e_t_s_i___matrix.html", null ],
        [ "ETSI_Radic", "class_e_t_s_i___radic.html", null ],
        [ "ETSI_Root", "class_e_t_s_i___root.html", null ],
        [ "ETSI_SText", "class_e_t_s_i___s_text.html", null ],
        [ "ETSI_Sum", "class_e_t_s_i___sum.html", null ]
      ] ],
      [ "ETSubItem::HtData", "struct_e_t_sub_item_1_1_ht_data.html", null ],
      [ "LnEditSI", "class_ln_edit_s_i.html", null ],
      [ "MainWindow", "class_main_window.html", null ],
      [ "MdiChild", "class_mdi_child.html", null ],
      [ "DDHC::MdlItem", "class_d_d_h_c_1_1_mdl_item.html", [
        [ "DDHC::AClass", "class_d_d_h_c_1_1_a_class.html", null ],
        [ "DDHC::CInst", "class_d_d_h_c_1_1_c_inst.html", null ],
        [ "DDHC::Classes", "class_d_d_h_c_1_1_classes.html", null ],
        [ "DDHC::Tree", "class_d_d_h_c_1_1_tree.html", null ],
        [ "DDHC::VarInst", "class_d_d_h_c_1_1_var_inst.html", null ]
      ] ],
      [ "DDHC::Model", "class_d_d_h_c_1_1_model.html", null ],
      [ "ModelChangeCommand", "class_model_change_command.html", [
        [ "ModelInsertCommand", "class_model_insert_command.html", null ],
        [ "ModelMoveCommand", "class_model_move_command.html", [
          [ "ModelResetCommand", "class_model_reset_command.html", null ],
          [ "ModelResetCommandFixed", "class_model_reset_command_fixed.html", null ]
        ] ]
      ] ],
      [ "ModelTest", "class_model_test.html", null ],
      [ "MW_BasicMdi", "class_m_w___basic_mdi.html", null ],
      [ "MW_BasicSlots", "class_m_w___basic_slots.html", null ],
      [ "MW_RecentFiles", "class_m_w___recent_files.html", null ],
      [ "MW_SheetSlots", "class_m_w___sheet_slots.html", null ],
      [ "MW_StyleSheets", "class_m_w___style_sheets.html", null ],
      [ "MW_UiTempl", "class_m_w___ui_templ.html", null ],
      [ "ObservingObject", "class_observing_object.html", null ],
      [ "ETSubItem::PaintData", "struct_e_t_sub_item_1_1_paint_data.html", null ],
      [ "ETSheetView::SplitData", "struct_e_t_sheet_view_1_1_split_data.html", null ],
      [ "ETSheetView::SplitEl", "struct_e_t_sheet_view_1_1_split_el.html", null ],
      [ "tst_ModelTest", "classtst___model_test.html", null ]
    ] ],
    [ "Class Members", "functions.html", null ],
    [ "File List", "files.html", [
      [ "aclass_ddhc.cc", "aclass__ddhc_8cc.html", null ],
      [ "aclass_ddhc.h", "aclass__ddhc_8h.html", null ],
      [ "cc_l2d.cc", "cc__l2d_8cc.html", null ],
      [ "cc_l2d.h", "cc__l2d_8h.html", null ],
      [ "classes_ddhc.cc", "classes__ddhc_8cc.html", null ],
      [ "classes_ddhc.h", "classes__ddhc_8h.html", null ],
      [ "ddhc_main.h", "ddhc__main_8h.html", null ],
      [ "dynamictreemodel.cpp", "dynamictreemodel_8cpp.html", null ],
      [ "dynamictreemodel.h", "dynamictreemodel_8h.html", null ],
      [ "ETI_CplxTxt.cc", "_e_t_i___cplx_txt_8cc.html", null ],
      [ "ETI_CplxTxt.h", "_e_t_i___cplx_txt_8h.html", null ],
      [ "ETI_MTxt.cc", "_e_t_i___m_txt_8cc.html", null ],
      [ "ETI_MTxt.h", "_e_t_i___m_txt_8h.html", null ],
      [ "ETSheet.cc", "_e_t_sheet_8cc.html", null ],
      [ "ETSheet.h", "_e_t_sheet_8h.html", null ],
      [ "ETSheetView.cc", "_e_t_sheet_view_8cc.html", null ],
      [ "ETSheetView.h", "_e_t_sheet_view_8h.html", null ],
      [ "ETSI_Fract.cc", "_e_t_s_i___fract_8cc.html", null ],
      [ "ETSI_Fract.h", "_e_t_s_i___fract_8h.html", null ],
      [ "ETSI_HText.cc", "_e_t_s_i___h_text_8cc.html", null ],
      [ "ETSI_HText.h", "_e_t_s_i___h_text_8h.html", null ],
      [ "ETSI_Integ.cc", "_e_t_s_i___integ_8cc.html", null ],
      [ "ETSI_Integ.h", "_e_t_s_i___integ_8h.html", null ],
      [ "ETSI_Lim.cc", "_e_t_s_i___lim_8cc.html", null ],
      [ "ETSI_Lim.h", "_e_t_s_i___lim_8h.html", null ],
      [ "ETSI_LogicAc.cc", "_e_t_s_i___logic_ac_8cc.html", null ],
      [ "ETSI_LogicAc.h", "_e_t_s_i___logic_ac_8h.html", null ],
      [ "ETSI_Matrix.cc", "_e_t_s_i___matrix_8cc.html", null ],
      [ "ETSI_Matrix.h", "_e_t_s_i___matrix_8h.html", null ],
      [ "ETSI_Radic.cc", "_e_t_s_i___radic_8cc.html", null ],
      [ "ETSI_Radic.h", "_e_t_s_i___radic_8h.html", null ],
      [ "ETSI_Root.cc", "_e_t_s_i___root_8cc.html", null ],
      [ "ETSI_Root.h", "_e_t_s_i___root_8h.html", null ],
      [ "ETSI_Rows.cc", "_e_t_s_i___rows_8cc.html", null ],
      [ "ETSI_Rows.h", "_e_t_s_i___rows_8h.html", null ],
      [ "ETSI_SText.cc", "_e_t_s_i___s_text_8cc.html", null ],
      [ "ETSI_SText.h", "_e_t_s_i___s_text_8h.html", null ],
      [ "ETSI_Sum.cc", "_e_t_s_i___sum_8cc.html", null ],
      [ "ETSI_Sum.h", "_e_t_s_i___sum_8h.html", null ],
      [ "ETSubItem.cc", "_e_t_sub_item_8cc.html", null ],
      [ "ETSubItem.h", "_e_t_sub_item_8h.html", null ],
      [ "ETU_CreateIt.cc", "_e_t_u___create_it_8cc.html", null ],
      [ "ETU_CreateIt.h", "_e_t_u___create_it_8h.html", null ],
      [ "ETUndoElem.cc", "_e_t_undo_elem_8cc.html", null ],
      [ "ETUndoElem.h", "_e_t_undo_elem_8h.html", null ],
      [ "ETUndoHead.cc", "_e_t_undo_head_8cc.html", null ],
      [ "ETUndoHead.h", "_e_t_undo_head_8h.html", null ],
      [ "ETVpCmd_EditSubI.cc", "_e_t_vp_cmd___edit_sub_i_8cc.html", null ],
      [ "ETVpCmd_EditSubI.h", "_e_t_vp_cmd___edit_sub_i_8h.html", null ],
      [ "ETVpCmd_NewSubI.cc", "_e_t_vp_cmd___new_sub_i_8cc.html", null ],
      [ "ETVpCmd_NewSubI.h", "_e_t_vp_cmd___new_sub_i_8h.html", null ],
      [ "ETVpCmd_NewTopElem.cc", "_e_t_vp_cmd___new_top_elem_8cc.html", null ],
      [ "ETVpCmd_NewTopElem.h", "_e_t_vp_cmd___new_top_elem_8h.html", null ],
      [ "ETVpCommand.cc", "_e_t_vp_command_8cc.html", null ],
      [ "ETVpCommand.h", "_e_t_vp_command_8h.html", null ],
      [ "finddlg.cc", "finddlg_8cc.html", null ],
      [ "finddlg.h", "finddlg_8h.html", null ],
      [ "ghost_ddhc.cc", "ghost__ddhc_8cc.html", null ],
      [ "ghost_ddhc.h", "ghost__ddhc_8h.html", null ],
      [ "item_ddhc.cc", "item__ddhc_8cc.html", null ],
      [ "item_ddhc.h", "item__ddhc_8h.html", null ],
      [ "main.cc", "main_8cc.html", null ],
      [ "main.h", "main_8h.html", null ],
      [ "mainwindow.cc", "mainwindow_8cc.html", null ],
      [ "mainwindow.h", "mainwindow_8h.html", null ],
      [ "mdic_basic.cc", "mdic__basic_8cc.html", null ],
      [ "mdic_basic.h", "mdic__basic_8h.html", null ],
      [ "mdichild.cc", "mdichild_8cc.html", null ],
      [ "mdichild.h", "mdichild_8h.html", null ],
      [ "model_ddhc.cc", "model__ddhc_8cc.html", null ],
      [ "model_ddhc.h", "model__ddhc_8h.html", null ],
      [ "modeltest.cpp", "modeltest_8cpp.html", null ],
      [ "modeltest.h", "modeltest_8h.html", null ],
      [ "mw_basicmdi.cc", "mw__basicmdi_8cc.html", null ],
      [ "mw_basicmdi.h", "mw__basicmdi_8h.html", null ],
      [ "mw_basicslots.cc", "mw__basicslots_8cc.html", null ],
      [ "mw_basicslots.h", "mw__basicslots_8h.html", null ],
      [ "mw_recentfiles.cc", "mw__recentfiles_8cc.html", null ],
      [ "mw_recentfiles.h", "mw__recentfiles_8h.html", null ],
      [ "mw_sheetslots.cc", "mw__sheetslots_8cc.html", null ],
      [ "mw_sheetslots.h", "mw__sheetslots_8h.html", null ],
      [ "mw_stylesheets.cc", "mw__stylesheets_8cc.html", null ],
      [ "mw_stylesheets.h", "mw__stylesheets_8h.html", null ],
      [ "mw_uitemplates.cc", "mw__uitemplates_8cc.html", null ],
      [ "mw_uitemplates.h", "mw__uitemplates_8h.html", null ],
      [ "tclassi_ddhc.cc", "tclassi__ddhc_8cc.html", null ],
      [ "tclassi_ddhc.h", "tclassi__ddhc_8h.html", null ],
      [ "tree_ddhc.cc", "tree__ddhc_8cc.html", null ],
      [ "tree_ddhc.h", "tree__ddhc_8h.html", null ],
      [ "tst_modeltest.cpp", "tst__modeltest_8cpp.html", null ],
      [ "tvari_ddhc.cc", "tvari__ddhc_8cc.html", null ],
      [ "tvari_ddhc.h", "tvari__ddhc_8h.html", null ]
    ] ],
    [ "Directories", "dirs.html", [
      [ "source", "dir_e522f8aed2e88c7d4c43a00599f980b0.html", [
        [ "debug", "dir_f5300b5b362fd5ac08c55288a2401856.html", null ],
        [ "generic", "dir_bf0d8c8f73821053a5956650bcbd81de.html", null ],
        [ "gui", "dir_73daf398bd88934c73860ddfae288406.html", null ],
        [ "modeltest", "dir_b138a6b015535ce1d1dbefc626614638.html", null ],
        [ "sheet", "dir_92c1e2c06d28a25fc65e6b9e56de4677.html", [
          [ "subitems", "dir_3076a762d1dd8a68f74d969595c1a9f7.html", null ],
          [ "undo_acts", "dir_194badd78fa723ff94b36b8ff812a2b8.html", null ],
          [ "vp_cmd", "dir_c17ee7b483690ce4f88e4cb79c317462.html", null ]
        ] ]
      ] ]
    ] ],
    [ "File Members", "globals.html", null ]
  ] ]
];

function createIndent(o,domNode,node,level)
{
  if (node.parentNode && node.parentNode.parentNode)
  {
    createIndent(o,domNode,node.parentNode,level+1);
  }
  var imgNode = document.createElement("img");
  if (level==0 && node.childrenData)
  {
    node.plus_img = imgNode;
    node.expandToggle = document.createElement("a");
    node.expandToggle.href = "javascript:void(0)";
    node.expandToggle.onclick = function() 
    {
      if (node.expanded) 
      {
        $(node.getChildrenUL()).slideUp("fast");
        if (node.isLast)
        {
          node.plus_img.src = node.relpath+"ftv2plastnode.png";
        }
        else
        {
          node.plus_img.src = node.relpath+"ftv2pnode.png";
        }
        node.expanded = false;
      } 
      else 
      {
        expandNode(o, node, false);
      }
    }
    node.expandToggle.appendChild(imgNode);
    domNode.appendChild(node.expandToggle);
  }
  else
  {
    domNode.appendChild(imgNode);
  }
  if (level==0)
  {
    if (node.isLast)
    {
      if (node.childrenData)
      {
        imgNode.src = node.relpath+"ftv2plastnode.png";
      }
      else
      {
        imgNode.src = node.relpath+"ftv2lastnode.png";
        domNode.appendChild(imgNode);
      }
    }
    else
    {
      if (node.childrenData)
      {
        imgNode.src = node.relpath+"ftv2pnode.png";
      }
      else
      {
        imgNode.src = node.relpath+"ftv2node.png";
        domNode.appendChild(imgNode);
      }
    }
  }
  else
  {
    if (node.isLast)
    {
      imgNode.src = node.relpath+"ftv2blank.png";
    }
    else
    {
      imgNode.src = node.relpath+"ftv2vertline.png";
    }
  }
  imgNode.border = "0";
}

function newNode(o, po, text, link, childrenData, lastNode)
{
  var node = new Object();
  node.children = Array();
  node.childrenData = childrenData;
  node.depth = po.depth + 1;
  node.relpath = po.relpath;
  node.isLast = lastNode;

  node.li = document.createElement("li");
  po.getChildrenUL().appendChild(node.li);
  node.parentNode = po;

  node.itemDiv = document.createElement("div");
  node.itemDiv.className = "item";

  node.labelSpan = document.createElement("span");
  node.labelSpan.className = "label";

  createIndent(o,node.itemDiv,node,0);
  node.itemDiv.appendChild(node.labelSpan);
  node.li.appendChild(node.itemDiv);

  var a = document.createElement("a");
  node.labelSpan.appendChild(a);
  node.label = document.createTextNode(text);
  a.appendChild(node.label);
  if (link) 
  {
    a.href = node.relpath+link;
  } 
  else 
  {
    if (childrenData != null) 
    {
      a.className = "nolink";
      a.href = "javascript:void(0)";
      a.onclick = node.expandToggle.onclick;
      node.expanded = false;
    }
  }

  node.childrenUL = null;
  node.getChildrenUL = function() 
  {
    if (!node.childrenUL) 
    {
      node.childrenUL = document.createElement("ul");
      node.childrenUL.className = "children_ul";
      node.childrenUL.style.display = "none";
      node.li.appendChild(node.childrenUL);
    }
    return node.childrenUL;
  };

  return node;
}

function showRoot()
{
  var headerHeight = $("#top").height();
  var footerHeight = $("#nav-path").height();
  var windowHeight = $(window).height() - headerHeight - footerHeight;
  navtree.scrollTo('#selected',0,{offset:-windowHeight/2});
}

function expandNode(o, node, imm)
{
  if (node.childrenData && !node.expanded) 
  {
    if (!node.childrenVisited) 
    {
      getNode(o, node);
    }
    if (imm)
    {
      $(node.getChildrenUL()).show();
    } 
    else 
    {
      $(node.getChildrenUL()).slideDown("fast",showRoot);
    }
    if (node.isLast)
    {
      node.plus_img.src = node.relpath+"ftv2mlastnode.png";
    }
    else
    {
      node.plus_img.src = node.relpath+"ftv2mnode.png";
    }
    node.expanded = true;
  }
}

function getNode(o, po)
{
  po.childrenVisited = true;
  var l = po.childrenData.length-1;
  for (var i in po.childrenData) 
  {
    var nodeData = po.childrenData[i];
    po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
        i==l);
  }
}

function findNavTreePage(url, data)
{
  var nodes = data;
  var result = null;
  for (var i in nodes) 
  {
    var d = nodes[i];
    if (d[1] == url) 
    {
      return new Array(i);
    }
    else if (d[2] != null) // array of children
    {
      result = findNavTreePage(url, d[2]);
      if (result != null) 
      {
        return (new Array(i).concat(result));
      }
    }
  }
  return null;
}

function initNavTree(toroot,relpath)
{
  var o = new Object();
  o.toroot = toroot;
  o.node = new Object();
  o.node.li = document.getElementById("nav-tree-contents");
  o.node.childrenData = NAVTREE;
  o.node.children = new Array();
  o.node.childrenUL = document.createElement("ul");
  o.node.getChildrenUL = function() { return o.node.childrenUL; };
  o.node.li.appendChild(o.node.childrenUL);
  o.node.depth = 0;
  o.node.relpath = relpath;

  getNode(o, o.node);

  o.breadcrumbs = findNavTreePage(toroot, NAVTREE);
  if (o.breadcrumbs == null)
  {
    o.breadcrumbs = findNavTreePage("index.html",NAVTREE);
  }
  if (o.breadcrumbs != null && o.breadcrumbs.length>0)
  {
    var p = o.node;
    for (var i in o.breadcrumbs) 
    {
      var j = o.breadcrumbs[i];
      p = p.children[j];
      expandNode(o,p,true);
    }
    p.itemDiv.className = p.itemDiv.className + " selected";
    p.itemDiv.id = "selected";
    $(window).load(showRoot);
  }
}

